inherited frmCadMateriais: TfrmCadMateriais
  Left = 394
  Top = 209
  Caption = 'Cadastro de Materiais'
  ClientHeight = 347
  ClientWidth = 648
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 14
  inherited Panel1: TPanel
    Top = 298
    Width = 648
    inherited Bevel3: TBevel
      Top = 74
      Visible = False
    end
    inherited btnFechar: TSpeedButton
      Left = 587
    end
  end
  inherited Panel4: TPanel
    Width = 648
    Height = 298
    object GroupBox1: TGroupBox
      Left = 2
      Top = 2
      Width = 644
      Height = 294
      Align = alClient
      Caption = 'Idetifica'#231#227'o do Material'
      Font.Charset = ANSI_CHARSET
      Font.Color = clGreen
      Font.Height = -12
      Font.Name = 'Verdana'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      object Label1: TLabel
        Left = 12
        Top = 24
        Width = 49
        Height = 14
        Caption = 'C'#243'digo:'
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
      end
      object Label2: TLabel
        Left = 12
        Top = 50
        Width = 65
        Height = 14
        Caption = 'Descri'#231#227'o:'
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
      end
      object DBText1: TDBText
        Left = 85
        Top = 22
        Width = 70
        Height = 18
        DataField = 'cd_material'
        DataSource = DS_Padrao
        Font.Charset = ANSI_CHARSET
        Font.Color = clGreen
        Font.Height = -13
        Font.Name = 'Verdana'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label3: TLabel
        Left = 12
        Top = 78
        Width = 27
        Height = 14
        Caption = 'Cor:'
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
      end
      object Label4: TLabel
        Left = 249
        Top = 76
        Width = 54
        Height = 14
        Caption = 'Largura:'
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
      end
      object Label5: TLabel
        Left = 449
        Top = 76
        Width = 71
        Height = 14
        Caption = 'Espessura:'
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
      end
      object Label6: TLabel
        Left = 397
        Top = 76
        Width = 4
        Height = 14
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
      end
      object Label7: TLabel
        Left = 392
        Top = 76
        Width = 32
        Height = 14
        Caption = '(mm)'
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
      end
      object Label8: TLabel
        Left = 605
        Top = 76
        Width = 32
        Height = 14
        Caption = '(mm)'
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentFont = False
      end
      object DBEdit2: TDBEdit
        Left = 84
        Top = 45
        Width = 553
        Height = 20
        Ctl3D = False
        DataField = 'descricao'
        DataSource = DS_Padrao
        Font.Charset = ANSI_CHARSET
        Font.Color = clGreen
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentCtl3D = False
        ParentFont = False
        TabOrder = 0
        OnEnter = DBEdit2Enter
        OnExit = DBEdit2Exit
      end
      object GroupBox4: TGroupBox
        Left = 2
        Top = 125
        Width = 640
        Height = 167
        Align = alBottom
        Caption = 'Informa'#231#245'es do Produto'
        Font.Charset = ANSI_CHARSET
        Font.Color = clGreen
        Font.Height = -11
        Font.Name = 'Verdana'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 5
        object Panel2: TPanel
          Left = 2
          Top = 15
          Width = 636
          Height = 150
          Align = alClient
          BevelInner = bvRaised
          BevelOuter = bvLowered
          TabOrder = 0
          object Label17: TLabel
            Left = 8
            Top = 9
            Width = 49
            Height = 13
            Caption = 'Produto:'
            Font.Charset = ANSI_CHARSET
            Font.Color = clGreen
            Font.Height = -11
            Font.Name = 'Verdana'
            Font.Style = []
            ParentFont = False
          end
          object Panel3: TPanel
            Left = 568
            Top = 2
            Width = 66
            Height = 146
            Align = alRight
            BevelInner = bvRaised
            BevelOuter = bvLowered
            TabOrder = 0
            object btnAddProdutoMaterial: TSpeedButton
              Left = 3
              Top = 3
              Width = 59
              Height = 41
              Caption = 'Adicionar'
              Flat = True
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = []
              Glyph.Data = {
                76010000424D7601000000000000760000002800000020000000100000000100
                04000000000000010000130B0000130B00001000000000000000000000000000
                800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF003333330B7FFF
                FFB0333333777F3333773333330B7FFFFFB0333333777F3333773333330B7FFF
                FFB0333333777F3333773333330B7FFFFFB03FFFFF777FFFFF77000000000077
                007077777777777777770FFFFFFFF00077B07F33333337FFFF770FFFFFFFF000
                7BB07F3FF3FFF77FF7770F00F000F00090077F77377737777F770FFFFFFFF039
                99337F3FFFF3F7F777FF0F0000F0F09999937F7777373777777F0FFFFFFFF999
                99997F3FF3FFF77777770F00F000003999337F773777773777F30FFFF0FF0339
                99337F3FF7F3733777F30F08F0F0337999337F7737F73F7777330FFFF0039999
                93337FFFF7737777733300000033333333337777773333333333}
              Layout = blGlyphTop
              NumGlyphs = 2
              ParentFont = False
              OnClick = btnAddProdutoMaterialClick
            end
            object btnRemovProdutoMaterial: TSpeedButton
              Left = 3
              Top = 46
              Width = 59
              Height = 41
              Caption = 'Remover'
              Flat = True
              Font.Charset = ANSI_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = []
              Glyph.Data = {
                76010000424D7601000000000000760000002800000020000000100000000100
                04000000000000010000120B0000120B00001000000000000000000000000000
                800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
                FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333000000000
                3333333777777777F3333330F777777033333337F3F3F3F7F3333330F0808070
                33333337F7F7F7F7F3333330F080707033333337F7F7F7F7F3333330F0808070
                33333337F7F7F7F7F3333330F080707033333337F7F7F7F7F3333330F0808070
                333333F7F7F7F7F7F3F33030F080707030333737F7F7F7F7F7333300F0808070
                03333377F7F7F7F773333330F080707033333337F7F7F7F7F333333070707070
                33333337F7F7F7F7FF3333000000000003333377777777777F33330F88877777
                0333337FFFFFFFFF7F3333000000000003333377777777777333333330777033
                3333333337FFF7F3333333333000003333333333377777333333}
              Layout = blGlyphTop
              NumGlyphs = 2
              ParentFont = False
            end
          end
          object DBGrid1: TDBGrid
            Left = 2
            Top = 29
            Width = 565
            Height = 117
            Align = alCustom
            Ctl3D = False
            DataSource = DS_ProdutoMaterial
            Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
            ParentCtl3D = False
            TabOrder = 1
            TitleFont.Charset = ANSI_CHARSET
            TitleFont.Color = clGreen
            TitleFont.Height = -11
            TitleFont.Name = 'Verdana'
            TitleFont.Style = [fsBold]
            Columns = <
              item
                Expanded = False
                FieldName = 'dsProduto'
                Title.Caption = 'Produto'
                Width = 502
                Visible = True
              end>
          end
          object DBLookupComboBox1: TDBLookupComboBox
            Left = 75
            Top = 6
            Width = 488
            Height = 19
            Ctl3D = False
            Font.Charset = ANSI_CHARSET
            Font.Color = clGreen
            Font.Height = -11
            Font.Name = 'Verdana'
            Font.Style = []
            KeyField = 'cd_produto'
            ListField = 'descricao'
            ListSource = DS_Produto
            ParentCtl3D = False
            ParentFont = False
            TabOrder = 2
          end
        end
      end
      object DBEdit1: TDBEdit
        Left = 84
        Top = 73
        Width = 160
        Height = 20
        Ctl3D = False
        DataField = 'cor'
        DataSource = DS_Padrao
        Font.Charset = ANSI_CHARSET
        Font.Color = clGreen
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentCtl3D = False
        ParentFont = False
        TabOrder = 1
        OnEnter = DBEdit2Enter
        OnExit = DBEdit2Exit
      end
      object DBEdit3: TDBEdit
        Left = 310
        Top = 73
        Width = 80
        Height = 20
        Ctl3D = False
        DataField = 'nr_largura'
        DataSource = DS_Padrao
        Font.Charset = ANSI_CHARSET
        Font.Color = clGreen
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentCtl3D = False
        ParentFont = False
        TabOrder = 2
        OnEnter = DBEdit2Enter
        OnExit = DBEdit2Exit
      end
      object DBEdit4: TDBEdit
        Left = 525
        Top = 73
        Width = 77
        Height = 20
        Ctl3D = False
        DataField = 'nr_espessura'
        DataSource = DS_Padrao
        Font.Charset = ANSI_CHARSET
        Font.Color = clGreen
        Font.Height = -12
        Font.Name = 'Verdana'
        Font.Style = []
        ParentCtl3D = False
        ParentFont = False
        TabOrder = 3
        OnEnter = DBEdit2Enter
        OnExit = DBEdit2Exit
      end
      object DBCheckBox1: TDBCheckBox
        Left = 14
        Top = 104
        Width = 143
        Height = 17
        Caption = 'Sa'#237'da por tiras?'
        DataField = 'sn_saida_tiras'
        DataSource = DS_Padrao
        TabOrder = 4
        ValueChecked = 'True'
        ValueUnchecked = 'False'
      end
      object DBCheckBox2: TDBCheckBox
        Left = 160
        Top = 104
        Width = 169
        Height = 17
        Caption = 'Movimenta Estoque?'
        DataField = 'sn_movimenta_estoque'
        DataSource = DS_Padrao
        TabOrder = 6
        ValueChecked = 'True'
        ValueUnchecked = 'False'
      end
    end
  end
  inherited QR_Padrao: TADOQuery
    CursorType = ctStatic
    SQL.Strings = (
      'SELECT * FROM TB_MATERIAL')
    Left = 568
    Top = 16
  end
  inherited DS_Padrao: TDataSource
    Left = 528
    Top = 16
  end
  object QR_Produto: TADOQuery
    Connection = dtmSisnnovi.connSisnnovi
    CursorType = ctStatic
    AfterOpen = QR_PadraoAfterOpen
    Parameters = <>
    SQL.Strings = (
      'SELECT * FROM TB_PRODUTO')
    Left = 352
    Top = 16
  end
  object DS_Produto: TDataSource
    DataSet = QR_Produto
    Left = 400
    Top = 16
  end
  object DS_ProdutoMaterial: TDataSource
    DataSet = QR_ProdutoMaterial
    Left = 248
    Top = 16
  end
  object QR_ProdutoMaterial: TADOQuery
    Connection = dtmSisnnovi.connSisnnovi
    CursorType = ctStatic
    AfterOpen = QR_PadraoAfterOpen
    Parameters = <>
    SQL.Strings = (
      'SELECT * FROM TB_PRODUTO_MATERIAL')
    Left = 200
    Top = 16
    object QR_ProdutoMaterialcd_produto_material: TAutoIncField
      FieldName = 'cd_produto_material'
      ReadOnly = True
    end
    object QR_ProdutoMaterialcd_produto: TIntegerField
      FieldName = 'cd_produto'
    end
    object QR_ProdutoMaterialcd_material: TIntegerField
      FieldName = 'cd_material'
    end
    object QR_ProdutoMaterialdsProduto: TStringField
      FieldKind = fkLookup
      FieldName = 'dsProduto'
      LookupDataSet = QR_Produto
      LookupKeyFields = 'cd_produto'
      LookupResultField = 'descricao'
      KeyFields = 'cd_produto'
      Lookup = True
    end
  end
end
